﻿<navfx:HostPage x:Class="NavFx.NavFxDemo.Wizard"
				xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
				xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
				xmlns:navfx="clr-namespace:NavFx;assembly=NavFx"
				HorizontalAlignment="Stretch"
				VerticalAlignment="Stretch"
				Loaded="Wizard_Loaded">
	
	<navfx:Page.Resources>
		<Style x:Key="headingText"
			   TargetType="TextBlock">
			<Setter Property="Margin"
					Value="10,5,10,5" />
			<Setter Property="FontSize"
					Value="15" />
			<Setter Property="FontWeight"
					Value="Bold" />
		</Style>
		<Style x:Key="paragraphText"
			   TargetType="TextBlock">
			<Setter Property="Margin"
					Value="5" />
			<Setter Property="FontSize"
					Value="12" />
			<Setter Property="TextWrapping"
					Value="Wrap" />
		</Style>
	</navfx:Page.Resources>

	<Grid x:Name="LayoutRoot"
		  HorizontalAlignment="Stretch"
		  VerticalAlignment="Stretch">
		
		<Grid.RowDefinitions>
			<RowDefinition Height="*" />
			<RowDefinition Height="25" />
		</Grid.RowDefinitions>

		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="*" />
		</Grid.ColumnDefinitions>

		<StackPanel x:Name="pageContainer"
					Grid.Column="0"
					Grid.Row="0">
			<!-- content pages will be loaded here -->

		</StackPanel>

		<!-- button bar -->
		<StackPanel x:Name="buttonBar"
					Orientation="Horizontal"
					Grid.Column="0"
					Grid.Row="1"
					HorizontalAlignment="Right">
			<Button x:Name="previous"
					IsEnabled="False"
					Click="previous_Click">
				<TextBlock>Back</TextBlock>
			</Button>
			<Button x:Name="next"
					Click="next_Click">
				<TextBlock>Next</TextBlock>
			</Button>
			<Button x:Name="finish"
					IsEnabled="False"
					Click="finish_Click">
				<TextBlock>Finish</TextBlock>
			</Button>
			<Button x:Name="cancel"
					Click="cancel_Click">
				<TextBlock>Cancel</TextBlock>
			</Button>
		</StackPanel>

	</Grid>
</navfx:HostPage>
